package com.woniuxy.autowire;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author: 马宇航
 * @Todo: 男人
 * @DateTime: 01/18/0018 下午 5:13
 * @Component: 成都蜗牛学苑
 **/
public class Man {
    String name;
    Women women;
    public void setName(String name) {
        this.name = name;
    }

    public void setWomen(Women women) {
        this.women = women;
    }

    @Override
    public String toString() {
        return "Man{" +
                "name='" + name + '\'' +
                ", women=" + women +
                '}';
    }
}
